package com.lsp.server.utils;

import java.util.List;

/* 统一的分页数据格式 */
public class TablePageData<R> {
    private Long count;
    private List<R> data;


    public TablePageData(Long count, List<R> data) {
        this.count=count;
        this.data=data;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public List<R> getData() {
        return data;
    }

    public void setData(List<R> data) {
        this.data = data;
    }
}
